]> dgit.raspbian.org Git - gnome-shell.git/commit
portalHelper: Fix runtime warning
authorBastien Nocera <hadess@hadess.net>
Mon, 13 Feb 2017 10:10:19 +0000 (11:10 +0100)
committerBastien Nocera <hadess@hadess.net>
Mon, 13 Feb 2017 10:54:35 +0000 (11:54 +0100)
commit98cdd4454323ca04f49a1c4f46f404fd2b6a3efd
tree4c3e4956faec8be87259c717cfb80271808abf93
parent304b68eff9f1f796494dd1868cfd55ab358f0016
portalHelper: Fix runtime warning

When there is no URI, then the title should be empty, not null:
Gjs-WARNING **: JS ERROR: Error: Argument 'str' (type utf8) may not be null

https://bugzilla.gnome.org/show_bug.cgi?id=778552
js/portalHelper/main.js